import request from "@/axios";

// 获取图片库分类
export function imagesList(page = 1, limit = 10) {
  return request.get("/admin/image_class/" + page, {
    params: {
      limit,
    },
  });
}

export function imList(id, page = 1, limit = 10) {
  return request.get("/admin/image_class/" + id + "/image/" + page, {
    params: {
      limit,
    },
  });
}
